package org.auth.service;

import java.util.Collection;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import lombok.Data;

@Data
public class JwtUser implements UserDetails {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
 
	String id;
	
	String name;
	
	String username;

	String password;

	boolean credentialsNonExpired;

	boolean accountNonLocked;

	boolean enabled;

	boolean accountNonExpired;
	
	Collection<? extends GrantedAuthority> authorities;
	
	String clientId;
	
	String userType;
	
	String openId;

}
